package com.itheima.advantagesup.service;

import com.itheima.advantagesup.dto.RoleDTO;
import com.itheima.advantagesup.vo.PageBean;
import com.itheima.advantagesup.vo.RoleAllDataVO;
import com.itheima.advantagesup.vo.RoleInfoVO;

import java.util.List;

public interface SysRoleService {
    PageBean pageSelect(Integer page, Integer limit, String name);


    void add(RoleDTO roleDTO);

    RoleInfoVO rowInfo(String id);

    void update(RoleDTO roleDTO);

    void deleteById(String id);

    List<RoleAllDataVO>  allData();
}
